//
//  FacePanel.h
//  WWKeyboard
//
//  Created by 王文文 on 2018/2/13.
//  Copyright © 2018年 王文文. All rights reserved.
//
/**
 *  管理所有的表情主题
 */
#import <UIKit/UIKit.h>

#import "FaceThemeModel.h"

@class FacePanel;

@protocol FacePanelDelegate <NSObject>
@optional
- (void)facePanelFacePicked:(FacePanel *)facePanel faceStyle:(FaceThemeStyle)themeStyle faceName:(NSString *)faceName isDeleteKey:(BOOL)deletekey;

/**
 发送表情
 */
- (void)facePanelSendTextAction:(FacePanel *)facePanel;

//添加和设置，暂时不需要处理
- (void)facePanelAddSubject:(FacePanel *)facePanel;
- (void)facePanelSetSubject:(FacePanel *)facePanel;

@end

@interface FacePanel : UIView
@property (nonatomic, weak) id<FacePanelDelegate> delegate;

- (void)loadFaceThemeItems:(NSArray<FaceThemeModel *>*)themeItems;
@end
